home *** CD-ROM | disk | FTP | other *** search
/ Language/OS - Multiplatform Resource Library / LANGUAGE OS.iso / cpp_libs / answrbok / 8_12.lha / 8_12 / 8_12b2.h < prev    next >
Text File  |  1993-08-08  |  528b  |  19 lines

  1. * Copyright (c) 1990 by AT&T Bell Telephone Laboratories, Incorporated. */
  2. * The C++ Answer Book */
  3. * Tony Hansen */
  4. * All rights reserved. */
  5. / bind to file
  6. at(int fd, int sk = 1, ostream* t = 0) : 
  7.    ebp(new extrabuf(*new istream(fd, sk, t)))
  8.  existingstream = 0; }
  9.  
  10. / bind to string
  11. at(int size, char *p, int sk = 1) : 
  12.    ebp(new extrabuf(*new istream(size, p, sk)))
  13.  existingstream = 0; }
  14.  
  15. / bind to buffer
  16. at(streambuf *s, int sk = 1, ostream* t = 0) :
  17.    ebp(new extrabuf(*new istream(s, sk, t)))
  18.  existingstream = 0; }
  19.